import request from '../../utils/request'
const api_name = "book"


export function getBookListByCondition(queryCondition) {
    return request({
        url: `/${api_name}/booklist`,
        method: 'post',
        data: queryCondition
    })
}

export function getBookDetail(bid) {
    return request({
        url: `/${api_name}/bookdetail/${bid}`,
        method: 'get'
    })
}